package com.chilli.cosima.service;

import java.util.Map;

import com.chilli.cosima.common.BussinessException;
import com.chilli.cosima.data.bean.Provider;

public interface ProviderService
{
	public Integer createProvider(Provider provider) throws BussinessException;

	public void updateProvider(Provider provider) throws BussinessException;

	public void deleteProvider(Integer[] id) throws BussinessException;

	public Provider findProviderById(Integer id);

	@SuppressWarnings("unchecked")
	public Map findProviderByPage(int current, int pageSize);
}
